{% load staticfiles %}


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>量化回测交易系统-登录</title>

    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <link rel="stylesheet" href="{% static '/bower_components/bootstrap/dist/css/bootstrap.min.css' %}">

    <link rel="stylesheet" href="{% static '/bower_components/font-awesome/css/font-awesome.min.css' %}">
    <!-- Ionicons -->
    <link rel="stylesheet" href="{% static '/bower_components/Ionicons/css/ionicons.min.css' %}">

    <link rel="stylesheet" href="{% static '/dist/css/skins/_all-skins.min.css' %}">

    <link rel="stylesheet" href="{% static '/dist/css/AdminLTE.min.css' %}">

    <link rel="stylesheet" href="{% static '/plugins/iCheck/square/blue.css' %}">

    <link rel="stylesheet" href="{% static '/plugins/bootstrapValidator/bootstrapValidator.min.css' %}">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- Google Font -->
    {#    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">#}


</head>

<body class="hold-transition login-page">

<div class="login-box">
    <div class="login-logo">
        <a href="#"><b>量化回测交易系统</b></a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">登录</p>
        <form action="{% url 'Rbac:login' %}" method="post" id="loginForm">
            {% csrf_token %}
            <div>
                <div class="form-group">
                    <div class="input-group">
                        <span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
                        <input type="text" name="username" id="username" class="form-control" placeholder="用户名"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                        <input type="password" name="password" id="password" class="form-control" placeholder="密码"/>
                    </div>
                </div>

                <button type="submit" class="btn btn-primary btn-block btn-flat" id="submitLogin">登录</button>
            </div>
        </form>
        <div class="social-auth-links text-center">
            <p class="login-box-msg">{{ self.result.message }}</p>
        </div>

    </div>
    <!-- /.login-box-body -->
</div>

<script src="{% static '/bower_components/jquery/dist/jquery.min.js' %}"></script>
<script src="{% static '/bower_components/bootstrap/dist/js/bootstrap.min.js' %}"></script>
<script src="{% static '/dist/js/adminlte.min.js' %}"></script>
<script src="{% static '/plugins/iCheck/icheck.min.js' %}"></script>
{#<script src="https://cdn.bootcss.com/crypto-js/3.1.9/crypto-js.min.js"></script>#}
{#验证#}
<script src="{% static '/plugins/bootstrapValidator/bootstrapValidator.min.js' %}"></script>
{#cookie#}
<script src="{% static '/plugins/jquery-cookie/jquery.cookie.min.js' %}"></script>

</body>

